package com.hx.er.dao;

import java.util.List;
import java.util.Map;

import com.hx.er.bean.base.CampaignBean;
import com.hx.er.bean.detail.CampaignDetailBean;

public interface IMarketingDao {
	public List<CampaignDetailBean> getCampaignAliveList(Map<String, Object> conditions);

	public int getCampaignAliveCount(Map<String, Object> conditions);
	
	public CampaignDetailBean getCampaignDetailById(long campaignId);

	public void insertCampaignWithoutId(CampaignBean campaignBean);

	public int updateCampaign(CampaignBean campaignBean);

	public int deleteCampaign(CampaignBean campaignBean);
}
